﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rapid.ViewModel
{
    class PatientTitleViewModel
    {
        static RapidDataDataContext db = new RapidDataDataContext();

        public static string GetPatientTitle1()
        {
            return db.PatientTitles.Single(pt => pt.Id == 1).Title;
        }

        public static string GetPatientTitle2()
        {
            return db.PatientTitles.Single(pt => pt.Id == 2).Title;
        }

        public static string GetPatientTitle3()
        {
            return db.PatientTitles.Single(pt => pt.Id == 3).Title;
        }

        public static string GetPatientTitle4()
        {
            return db.PatientTitles.Single(pt => pt.Id == 4).Title;
        }

    }
}
